import request from '@/utils/request.js'

/**
 * 通知列表
 */
export function getNoticePage ({ pageNum, pageSize }) {
	return request.get({
		url: `/notice_driver/page`,
		params: {
			pageNum,
			pageSize
		}
	})
}

/**
 * 通知列表
 */
export function hasReadNotices () {
	return request.get({
		url: `/notice_driver/hasReadNotices`
	})
}